package com.sjqi.demo;

import com.sjqi.demo.entity.CompanyWithInvoiceEntity;
import com.sjqi.demo.entity.InvoiceEntity;

import java.util.List;

/**
 * @author qishaojun
 */
public interface IInvoiceDao {
    InvoiceEntity findById(Long id);

    List<InvoiceEntity> findByNo(String no);

    InvoiceEntity findByNoWithCompany(Long id);

    List<CompanyWithInvoiceEntity> findCompanyInvoices(Long companyId);

}
